package com.ruoyi.map.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 鱼饵推荐管理对象 fh_map_baitrecommend
 * 
 * @author ruoyi
 * @date 2024-11-13
 */
@Data
@ApiModel(value = "FhMapBaitrecommend",description = "鱼饵推荐实体")
public class FhMapBaitrecommend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 鱼类id */
    @Excel(name = "鱼类id")
    private Long fishId;

    /** 鱼类名称 */
    @Excel(name = "鱼类名称")
    private String fishType;

    @ApiModelProperty("鱼饵id")
    /** 鱼饵id */
    @Excel(name = "鱼饵id")
    private Long baitId;

    @ApiModelProperty("适用钓竿")
    /** 适用钓竿 */
    @Excel(name = "适用钓竿")
    private String rod;

    @ApiModelProperty("鱼饵名称")
    /** 鱼饵名称 */
    @Excel(name = "鱼饵名称")
    private String baitName;

    @ApiModelProperty("鱼饵图片")
    /** 鱼饵图片 */
    @Excel(name = "鱼饵图片")
    private String baitImage;

    @ApiModelProperty("鱼饵重量")
    /** 鱼饵重量 */
    @Excel(name = "鱼饵重量")
    private String baitWeight;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFishId(Long fishId) 
    {
        this.fishId = fishId;
    }

    public Long getFishId() 
    {
        return fishId;
    }
    public void setFishType(String fishType) 
    {
        this.fishType = fishType;
    }

    public String getFishType() 
    {
        return fishType;
    }
    public void setBaitId(Long baitId) 
    {
        this.baitId = baitId;
    }

    public Long getBaitId() 
    {
        return baitId;
    }
    public void setRod(String rod) 
    {
        this.rod = rod;
    }

    public String getRod() 
    {
        return rod;
    }
    public void setBaitName(String baitName) 
    {
        this.baitName = baitName;
    }

    public String getBaitName() 
    {
        return baitName;
    }
    public void setBaitImage(String baitImage) 
    {
        this.baitImage = baitImage;
    }

    public String getBaitImage() 
    {
        return baitImage;
    }
    public void setBaitWeight(String baitWeight) 
    {
        this.baitWeight = baitWeight;
    }

    public String getBaitWeight() 
    {
        return baitWeight;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCrateTime(Date crateTime) 
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime() 
    {
        return crateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fishId", getFishId())
            .append("fishType", getFishType())
            .append("baitId", getBaitId())
            .append("rod", getRod())
            .append("baitName", getBaitName())
            .append("baitImage", getBaitImage())
            .append("baitWeight", getBaitWeight())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("crateTime", getCrateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
